#ifndef DESKTOP_FDO_CONNECTION_UTIL_H
#define DESKTOP_FDO_CONNECTION_UTIL_H

class FdoIConnection;
class MgResourceIdentifier;

namespace MdfModel
{
    class FeatureSource;
}

class MgFdoConnectionUtil
{
    friend class MgFeatureConnection;

public:
    static MdfModel::FeatureSource* GetFeatureSource(MgResourceIdentifier* resource);

private:
    static FdoIConnection* CreateConnection(MgResourceIdentifier* resource);
	static FdoIConnection* CreateConnection(CREFSTRING provider, CREFSTRING connectionString);

    
};

#endif